package cn.wolfcode.wms.qo;


import cn.wolfcode.wms.util.StringUtil;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class OrederChartQuery extends  QueryObject{
    private Long supplierId = -1L;
    private Long brandId = -1L;
    private String groupType = "e.name";
    private String keyword;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    public String getKeyword() {
        return StringUtil.empty2Null(keyword);
    }

//重写get时间,将其小时设置成23...


}
